Skip to content

Conversation

@mrehan27
Copy link
Contributor

@mrehan27 mrehan27 commented Dec 24, 2025

Summary

Removes support for React Native's old architecture from Expo plugin to align with latest version of React Native. This simplifies the codebase and ensures full compatibility with latest SDK tooling and TurboModules based architecture.

Changes

  • Updated the plugin to use React Native 6.0.0 which includes full support for TurboModules and the new architecture
  • Updated the native Android SDK dependency to include support for lead capture via anonymous messages

Notes

  • ⚠️ This completely removes support for old architecture to reduce codebase complexity and align the SDK with React Native's roadmap and direction
  • Customers still using old React Native architecture will be affected and must upgrade to new architecture to continue using the SDK
  • Customers already using the new architecture will not be impacted
  • No changes to public JavaScript APIs, this is entirely internal to native module setup

References


Note

Switches Android in-app messaging to the React Native listener singleton.

  • In CustomerIOSDKInitializer.kt, replace NativeMessagingInAppModuleImpl.inAppEventListener with ReactInAppEventListener.instance when configuring MessagingInAppModuleConfig
  • Update Android Jest snapshots to reflect new import and listener usage

No other logic changes

Written by Cursor Bugbot for commit d1eedc5. This will update automatically on new commits. Configure here.

@mrehan27 mrehan27 self-assigned this Dec 24, 2025
@mrehan27 mrehan27 requested a review from a team as a code owner December 24, 2025 11:09
Copy link
Contributor

@mahmoud-elmorabea mahmoud-elmorabea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@mahmoud-elmorabea mahmoud-elmorabea requested a review from a team December 24, 2025 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants